package com.jml.loadbalancer.entity;


public class WeightEntity {
    private String addres;
    private int weight;

    public WeightEntity(String addres, int weight) {
        this.addres = addres;
        this.weight = weight;
    }

    public void setAddres(String addres) {
        this.addres = addres;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getWeight() {
        return weight;
    }

    public String getAddres() {
        return addres;
    }
}
